.masonry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-top: 24px;
  margin-left: 10px;
}
.masonry-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: calc((100% - 5 * 24px) / 6); /* 6列，5个间隔 */
  height: 340px;
  margin-bottom: 0;
}
.masonry-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.masonry-title {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  flex: 1;
  display: flex;
  align-items: center;
}
@media (max-width: 1400px) {
  .masonry-card { width: calc((100% - 4 * 24px) / 5); }
}
@media (max-width: 1200px) {
  .masonry-card { width: calc((100% - 3 * 24px) / 4); }
}
@media (max-width: 900px) {
  .masonry-card { width: calc((100% - 1 * 24px) / 2); }
}
@media (max-width: 600px) {
  .masonry-card { width: 100%; }
} 